import request from "@/plugin/axios";

const BASE_URL = "dd";

export function DdLogin({ requestAuthCode }) {
  return request({
    url: `${BASE_URL}/login/${requestAuthCode}`,
    method: "get",
  });
}
export function DdOrg() {
  return request({
    url: `sys/dd/save-all-dept`,
    method: "get",
  });
}

export function DdUser() {
  return request({
    url: `sys/dd/save-all-user`,
    method: "get",
  });
}
